Learn R Programming

brainGraph (version 3.1.0)

GLM basic info: Extract basic information from a bg_GLM object

Description

These functions return the terms, term labels, model formula, “case names”, “variable names”, region names, and number of observations for a bg_GLM object. The term labels are used for ANOVA tables.

Usage

# S3 method for bg_GLM
nobs(object, ...)

# S3 method for bg_GLM terms(x, ...)

# S3 method for bg_GLM formula(x, ...)

# S3 method for bg_GLM labels(object, ...)

# S3 method for bg_GLM case.names(object, ...)

# S3 method for bg_GLM variable.names(object, ...)

# S3 method for bg_GLM region.names(object)

# S3 method for bg_GLM nregions(object)

Value

terms returns a named integer list in which the names are the term labels and the list elements are the column(s) of the design matrix for each term. nobs returns an integer. The other functions return character vectors.

Arguments

...

Unused

x, object

A bg_GLM object